<template>
    <div>
        <div class="con">
                <div class="content-placeholder">
                    <div class="author">
                        <div class="avatar"></div>                                         
                        <div class="info"></div>
                    </div>
                    <div class="title"></div>
                    <div class="abstract ab1"></div>
                    <div class="abstract ab2"></div>
                    <div class="abstract ab3"></div>
                    <div class="img"></div>
                    <div class="meta">
                        <i class="fa fa-eye"></i>
                        <span></span>
                        <i class="fa fa-comment"></i>
                        <span></span>
                        <i class="fa fa-heart"></i>
                        <span></span>
                    </div>
                </div>
                <div class="content">
                    <div class="author">
                        <nuxt-link class="avatar" to="/u/123">
                            <img src="../../assets/img/default-avatar.jpg" alt="">                                          
                        </nuxt-link>
                        <div class="info">
                            <nuxt-link to="/u/123" class="nickname">
                                用户
                            </nuxt-link>
                            <span class="time">
                                20：00
                            </span>
                        </div>
                    </div>
                    <nuxt-link class="title" to="/p/123">
                        如何把书中的知识转化成能力？这是我见过的最好回答
                    </nuxt-link>
                    <p class="abstract">
                        随着知识经济的兴起，读书的重要性得到了大家的普遍认同，于是市场上出现很多读书方法，比如速度、多读、慢读、列读......不管你采用哪一种读书方法，最终都要回归到“行动”二字上，正如陆...
                    </p>
                    <div class="meta">
                        <nuxt-link to="/p/123">
                            <i class="fa fa-eye"></i>
                            2590
                        </nuxt-link>
                        <nuxt-link to="/p/123">
                            <i class="fa fa-comment"></i>
                            500
                        </nuxt-link>
                        <span>
                            <i class="fa fa-heart"></i>
                            539
                        </span>
                    </div>
                </div>  
        </div>
    </div>
</template>
<script>
    export default {
        name:'qyq',
        components:{
            
        },
        data () {
            return {
                
            }
        },

    }
</script>
<style scoped>
@media (min-width:992px){
    .con{
        margin-left: 260px;
    }
    
}

@media (max-width:1080px){
    .con{
        margin-left: 200px;
    }
}  
.con{
    padding-left: 20px;
}
.content-placeholder{
    position: relative;
}
.content-placeholder .author .avatar{
    width: 32px;
    height: 32px;
    background-color: #ebebeb;
    border-radius: 50%;
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
}
.content-placeholder .author .info{
    width: 80px;
    height: 16px;
    display: inline-block;
    background-color: #ebebeb;
    vertical-align: middle;
}
.content-placeholder .title{
    width: 180px;
    height: 19px;
    background-color: #ebebeb;
    margin-top: 10px;
}
.content-placeholder .abstract{
    width: 70%;
    height: 16px;
    background-color: #ebebeb;
    margin-top: 10px;
}
.content-placeholder .ab1{
    animation: loading 1s ease-in-out infinite;
}
.content-placeholder .ab2{
    animation: loading 1s ease-in-out -.5s infinite;
}
.content-placeholder .ab3{
    width: 35%;
    animation: loading2 1s ease-in-out -.5s infinite;
}
.content-placeholder .img{
    position: absolute;
    top:50px;
    right: 10px;
    width: 120px;
    height: 100px;
    background-color: #ebebeb;
    border-radius: 5px;
}
.content-placeholder .meta{
    margin-top: 10px;
}
.content-placeholder .meta i{
    color: #ebebeb;
    font-size: 12px;
    margin: 3px;
}
.content-placeholder .meta span{
    display: inline-block;
    width: 40px;
    height: 16px;
    background-color: #ebebeb;
    vertical-align: middle;
}
@keyframes loading{
    0%{
        width: 35%;
    }
    25%{
        width: 70%;
    }
    50%{
        width: 70%;
    }
    100%{
        width: 35%;
    }
}
@keyframes loading2{
    0%{
        width: 10%;
    }
    25%{
        width: 35%;
    }
    50%{
        width: 35%;
    }
    100%{
        width: 10%;
    }
}
 .content{
    margin-top: 20px;
    border-bottom: 1px solid #ebebeb;
}
 .content .author .avatar{
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
    
}
 .content .author .info{
    display: inline-block;
    vertical-align: middle;
}
 .content .author .info .nickname{
    color: #333;
    font-size: 13px;
}
 .content .author .info .time{
    font-size: 13px;
    color: #969696;
}
 .content .title{
    font-size: 18px;
    font-weight: 700;
    color: #969696 !important;
    line-height: 1.5;
    margin-top: 10px;
} 
 .content .abstract{
    font-size: 13px;
    margin-top: 10px;
}
 .content .meta{
    font-size: 12px;
    font-weight: 400;
    color: #969696;
    margin-bottom: 20px;
}

 .content .meta i:hover{
    color: #787878;
}
 .content .meta a{
    margin-right: 10px;
}
</style>